package com.puti.doctor.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class EvaluationVo {
    private Long recordId;
    private String patientName;
    private String recordDescription;
    private String evaluationContent;
    private Long evaluationStars;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;


    @Override
    public String toString() {
        return "EvaluationVo{" +
                "recordId=" + recordId +
                ", patientName='" + patientName + '\'' +
                ", recordSituation='" + recordDescription + '\'' +
                ", evaluationContent='" + evaluationContent + '\'' +
                ", evaluationStars=" + evaluationStars +
                ", recordTime=" + recordTime +
                '}';
    }

    public EvaluationVo() {
    }

    public EvaluationVo(Long recordId, String patientName, String recordDescription, String evaluationContent, Long evaluationStars, Date recordTime) {
        this.recordId = recordId;
        this.patientName = patientName;
        this.recordDescription = recordDescription;
        this.evaluationContent = evaluationContent;
        this.evaluationStars = evaluationStars;
        this.recordTime = recordTime;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getRecordSituation() {
        return recordDescription;
    }

    public void setRecordSituation(String recordDescription) {
        this.recordDescription = recordDescription;
    }

    public String getEvaluationContent() {
        return evaluationContent;
    }

    public void setEvaluationContent(String evaluationContent) {
        this.evaluationContent = evaluationContent;
    }

    public Long getEvaluationStars() {
        return evaluationStars;
    }

    public void setEvaluationStars(Long evaluationStars) {
        this.evaluationStars = evaluationStars;
    }
}
